package cn.wolfcode.cloud.shop.consts;

public interface MQConstants {

    String SECKILL_ORDER_TOPIC = "SECKILL_ORDER_TOPIC";
    String CREATE_SECKILL_ORDER_TAG = "CREATE_SECKILL_ORDER_TAG";
    String CREATE_SECKILL_ORDER_DEST = SECKILL_ORDER_TOPIC + ":" +CREATE_SECKILL_ORDER_TAG;
    String CREATE_SECKILL_ORDER_CONSUMER_GROUP = "CREATE_SECKILL_ORDER_CONSUMER_GROUP";


    String SECKILL_ORDER_SUCCESS_TAG = "SECKILL_ORDER_SUCCESS_TAG";
    String SECKILL_ORDER_SUCCESS_DEST = SECKILL_ORDER_TOPIC + ":" +SECKILL_ORDER_SUCCESS_TAG;
    String SECKILL_ORDER_SUCCESS_CONSUMER_GROUP = "SECKILL_ORDER_SUCCESS_CONSUMER_GROUP";

    String SECKILL_ORDER_FAILED_TAG = "SECKILL_ORDER_FAILED_TAG";
    String SECKILL_ORDER_FAILED_DEST = SECKILL_ORDER_TOPIC + ":" +SECKILL_ORDER_FAILED_TAG;
    String SECKILL_ORDER_FAILED_CONSUMER_GROUP = "SECKILL_ORDER_FAILED_CONSUMER_GROUP";


    String DELAY_ORDER_TAG = "DELAY_ORDER_TAG";
    String DELAY_ORDER_DEST = SECKILL_ORDER_TOPIC + ":" +DELAY_ORDER_TAG;
    String DELAY_ORDER_CONSUMER_GROUP = "DELAY_ORDER_CONSUMER_GROUP";

    String CLEAR_STOCK_OVER_MAP_TAG = "CLEAR_STOCK_OVER_MAP_TAG";
    String CLEAR_STOCK_OVER_MAP_DEST = SECKILL_ORDER_TOPIC + ":" +CLEAR_STOCK_OVER_MAP_TAG;
    String CLEAR_STOCK_OVER_MAP_GROUP = "CLEAR_STOCK_OVER_MAP_GROUP";
}
